<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>

<script src="./static/script/jquery-1.12.1.min.js"></script>
<script src="./static/script/commons.js"></script>
<link rel="stylesheet" href="./dist/themes/default/style.min.css" />
<script type="text/javascript" src="./dist/jstree.js"></script>

<script type="text/javascript">
var jstree ;
$(function () {
    // 6 当DOM准备好时创建一个实例
   jstree = $('#jstree').jstree({
	   "core" : {
		   'data' :{
			  'url' :base_url
		   }
	   }
   });
    
  
 });




</script>
</head>
<body>
 <div id="jstree">
    <!-- 在本例中，树是从内联HTML填充的 -->
    <ul>
      <li>根节点 1
        <ul>
          <li id="child_node_1">子节点1</li>
          <li>子节点2</li>
        </ul>
      </li>
      <li>根节点 2</li>
    </ul>
  </div>
  <input type="button" value="确定" onclick="change()">
</html>